package com.srs.backend.service;

import com.srs.backend.utils.Result;

import java.util.Map;

public interface OrderService {
    Result add (Map<String, String> data);
    Result delete (Map<String, String> data);
    Result modify (Map<String, String> data);
    Result getAll ();
    Result addOrderAndItems(Map<String, Object> data);
    Result getAllByClientId(Map<String, String> data);
    Result getTotalMoneyByPeriod(Map<String, String> data);
    Result checkOut(Map<String, String> data);
    Result getAllUnpaidOrders();
}
